Skip to content

Python: Ignore dead entities from library trap files.#1042

Merged
taus-semmle merged 1 commit into
github:rc/1.20from
markshannon:python-ignore-dead-objects
Mar 6, 2019
Merged

Python: Ignore dead entities from library trap files.#1042
taus-semmle merged 1 commit into
github:rc/1.20from
markshannon:python-ignore-dead-objects

Conversation

@markshannon

Copy link
Copy Markdown
Contributor

The trap files generated from the CPython builtin library contains information about builtin objects.
Some of these do not match up with the builtin objects from the interpreter.
Since these entities have no relations to others their presence is benign, so we can just ignore them
However, treating them as Objects invalidates the sanity check. This PR fixes that.

@markshannon markshannon requested review from a team as code owners March 5, 2019 14:40
@markshannon markshannon changed the base branch from master to rc/1.20 March 5, 2019 14:40
@markshannon markshannon added this to the 1.20 milestone Mar 5, 2019
@markshannon

Copy link
Copy Markdown
Contributor Author

Not observable except by running the sanity check, so no change note required.

@markshannon markshannon force-pushed the python-ignore-dead-objects branch from 142021c to 32dabce Compare March 5, 2019 15:28
@markshannon markshannon removed request for a team March 5, 2019 17:03

@taus-semmle taus-semmle left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@taus-semmle taus-semmle merged commit 2f77cde into github:rc/1.20 Mar 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants